home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c / 113 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  2.2 KB

  1. Path: news.cs.ucla.edu!twinsun!not-for-mail
  2. From: eggert@twinsun.com (Paul Eggert)
  3. Newsgroups: comp.std.c
  4. Subject: brief summary of Technical Corrigendum 2
  5. Date: 15 Jan 1996 22:26:05 -0800
  6. Organization: Twin Sun Inc, El Segundo, CA, USA
  7. Message-ID: <4dfgdt$se6@der.twinsun.com>
  8. References: <4d554m$q4b@news1.halcyon.com>
  9. NNTP-Posting-Host: der.twinsun.com
  10.  
  11. William E. Aitken writes:
  12.  
  13. >    What is the current status of TC2?
  14.  
  15. Publication of Technical Corrigendum 2 is ``imminent'', according to
  16. Douglas A. Gwyn, ``C Standards Update'', _The Journal of C Language
  17. Translation_ *6*, 3 (March 1995), 150-156.  Gwyn's article also
  18. contains a summary of what are expected to be the normative changes of TC2.
  19. Briefly:
  20.  
  21. * There is a new kind of storage duration, ``allocated''.  It is neither
  22.   static nor dynamic.  malloc'ed storage has allocated storage duration.
  23.  
  24. * The following are now locale-specific, not implementation-defined:
  25.   - shift states used for the encoding of multibyte characters
  26.   - character sets for isalnum, isalpha, iscntrl, islower, isprint, isupper
  27.   - the interpretation of setlocale's second argument (if neither "C" nor "")
  28.   - additional subject sequence forms for strtod, strtol, strtoul
  29.   - strerror's returned string
  30.  
  31. * va_start and va_end must be invoked in corresponding pairs,
  32.   and the pairs cannot nest.
  33.  
  34. * An incomplete type in one translation unit is compatible with a
  35.   complete type in another unit.  (The wording in Gwyn's article on this point
  36.   was a little unclear; I hope WG14 fixed it before it became official.)
  37.  
  38. * Freestanding environments can have reserved external identifiers.
  39.  
  40. * The implementation-defined integer type compatible with an enumerated type
  41.   must be capable of representing the enumeration members' values.
  42.  
  43. * An enumerated type is complete at the } ending the enumeration.
  44.  
  45. * String and wide string literals need not be distinct even if not identical,
  46.   so long as their elements have appropriate values.
  47.  
  48. * Calling a library function like printf with an unexpected type
  49.   (after promotion) yields undefined behavior.
  50.  
  51. * `return X' in `main' is not precisely equivalent to `exit(X)',
  52.   since the dynamic storage of `main' vanishes as `main' returns.
  53.  
  54. There are some other minor wording changes.
  55.